package com.example.info;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class DeviceInfo {


    private String msgType;
    private String downloadUrl;
    private String fileList;
    private String verifyResult;
    //编号
    private Integer statusID;
    private String machineID;
    private String machineName;
    private String IPAddress;
    //设备状态
    private Integer isConnected;
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date postTime;
    private String shiftName;

    // 设备信息字段
//    private Integer numTotal;
//    private Integer numRemove;

    private Long numTotal;
    private Long numRemove;

    private Long jianchelunJuanyanHeidian;
    private Long jianchelunJuanyanBaidian;
    private Long jianchelunJuanyanXiachi;
    private Long jianchelunShuisongHeidian;
    private Long jianchelunShuisongBaidian;
    private Long jianchelunShuisongXiachi;
    private Long jianchelunCuoya;
    private Long jianchelunDingwei;
    private Long tifeilunJuanyanHeidian;
    private Long tifeilunJuanyanBaidian;
    private Long tifeilunJuanyanXiachi;
    private Long tifeilunShuisongHeidian;
    private Long tifeilunShuisongBaidian;
    private Long tifeilunShuisongXiachi;
    private Long tifeilunCuoya;
    private Long tifeilunDingwei;
    private Long yanzhiChangdu;
    private Long shuisongzhiChangdu;
//    private Integer jianchelunJuanyanHeidian;
//    private Integer jianchelunJuanyanBaidian;
//    private Integer jianchelunJuanyanXiachi;
//    private Integer jianchelunShuisongHeidian;
//    private Integer jianchelunShuisongBaidian;
//    private Integer jianchelunShuisongXiachi;
//    private Integer jianchelunCuoya;
//    private Integer jianchelunDingwei;
//    private Integer tifeilunJuanyanHeidian;
//    private Integer tifeilunJuanyanBaidian;
//    private Integer tifeilunJuanyanXiachi;
//    private Integer tifeilunShuisongHeidian;
//    private Integer tifeilunShuisongBaidian;
//    private Integer tifeilunShuisongXiachi;
//    private Integer tifeilunCuoya;
//    private Integer tifeilunDingwei;
//    private Integer yanzhiChangdu;
//    private Integer shuisongzhiChangdu;

//    private Integer camera0;
//    private Integer camera1;
//    private Integer camera2;
//    private Integer camera3;
//    private Integer machineSpeed;
    private Float camera0;
    private Float camera1;
    private Float camera2;
    private Float camera3;
    private Float machineSpeed;

    private String errNo; // 十六进制错误码
    private Integer removeStatus;
}